public class testBinary {
    public static void main(String[] args) {
        int []arr={5,3,4,1,7,8,2,6,0,9};
        BinarySearchTree binarySearchTree=new BinarySearchTree();
        for (int i=0;i< arr.length;i++){
            binarySearchTree.cha(arr[i]);
        }
        System.out.println(binarySearchTree.jc(8));
        System.out.println(binarySearchTree.jc(88));
        binarySearchTree.remove(7);

    }
}
